package com.woniuxy.vo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/*
@author Jan
@create 2020-06-08 17:13

*/
@Data
@Document(indexName = "yuek",indexStoreType = "product")
public class ProductVo {
    @Id
    private Integer proId;

    private String proName;

    /**
     * 商品类别id
     */
    private Integer categoryId;

    private Double price;

    private Integer stock;

    /**
     * 商品描述
     */
    private String describe;

    /**
     * 上架 下架
     */
    private Integer status;

    //商品图片
    private String url ;
}
